#include<iostream>
using namespace std;
int main(){
    int n;
    cin>>n;
    for (int i = 0; i < n; i++)
    {
            double a,b,c;
            cin>>a>>b>>c;
            if(a>=1000||b>=1000||c>=1000)return 0;
            if(a+b>c&&a+c>b&&b+c>a){
                cout<<"YES"<<endl;
            }else cout<<"NO"<<endl;
    }
}